var mongoose = require("mongoose");
var Schema = mongoose.Schema;

var floorSchema = new Schema({
    "title" : String,
    "mainIcon":String,
    "secondIcons" :String,
    "freeze":Boolean,
    "relationGoods" : [
        {
            _id:String,
            url:String,
            title:String,
            price:String,
            goodsId:String,
            salse:String
        }
    ]
});

module.exports = mongoose.model("floors", floorSchema );